Skip to content

Add RangeSlider #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 9, 2021
Merged

Add RangeSlider #26

merged 2 commits into from
Jun 9, 2021

Conversation

neumann-nico
Copy link
Contributor

@neumann-nico neumann-nico commented Jun 8, 2021

Hey dash-labs team,
thank you for your great work of the new preview version, I love it!

This pull request adds RangeSlider as a template. The usage is similar to the already introduced Slider template.

Unfortunately, there is a bug in the current version 1.16.0 of the dash_core_component package. The tooltips which indicate the current value of the sliders are broken. Luckily, this bug is already fixed in current developer version: fixes tooltips on RangeSlider #963
If desired, I can disable the tooltip until the next version is released.

I added an example in /docs/demos/06-integration-and-migration/adding_controls2.py (screenshot shows the correct tooltip)
demo
Feel free to give me some feedback!

If needed, I can add more missing templates.

Kind regards,
Nico

@jonmmease
Copy link
Contributor

Thanks, this looks great!
I'm fine keeping the tooltips for now, since the dcc update will be out before Dash 2.

@jonmmease jonmmease merged commit 3c0de01 into plotly:main Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants